import React from 'react'
import {Routes, Route,Navigate,useRoutes} from 'react-router-dom'
import routes from './routes/index'
import {Getroutes,useMyRoutes} from './routes'




export default function App() {
  return (
    <div>
      
      {/* <Getroutes/> */}
      {useMyRoutes()}

      
    </div>
    
  )
}
